package com.xoa.controller.im.Model;

import com.xoa.model.im.ImMessage;

import java.util.List;

/**
 * Im message对象 返回模型
 * 
 * 创建作者:   杨 胜
 * 创建日期:   2017-5-20 上午9:34:39
 * 类介绍  :   
 * 构造参数:   
 *
 */
public class ImMessageModel{
    private String from_uid;//
    
    private String to_uid;//

    private String of_from;//

    private String content;//
    
    private String of_to;

    private String uuid;

    private String type;
    
    private String msg_type;

    private Files file;
    
    private String  time;
    
    private String list_id;
    
    private String msg_free;

    private  String formUserName;

	private  String toUserName;
	private  String myStatus;

	private String rinvite;

	private List<ImMessage> groupMessage;

	private String photo;

	public String getMyStatus() {
		return myStatus==null?"":myStatus;
	}

	public void setMyStatus(String myStatus) {
		this.myStatus = myStatus;
	}

	public String getFormUserName() {
		return formUserName;
	}

	public void setFormUserName(String formUserName) {
		this.formUserName = formUserName;
	}

	public String getToUserName() {
		return toUserName;
	}

	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}

	public String getMsg_type() {
		return msg_type;
	}

	public void setMsg_type(String msg_type) {
		this.msg_type = msg_type;
	}

	public String getList_id() {
		return list_id;
	}

	public void setList_id(String list_id) {
		this.list_id = list_id;
	}

	public String getMsg_free() {
		return msg_free;
	}

	public void setMsg_free(String msg_free) {
		this.msg_free = msg_free;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public ImMessageModel(){
    	
    }

	public ImMessageModel(String from_uid, String to_uid, String of_from,
			String content, String of_to, String uuid, String type, Files file,String time) {
		super();
		this.from_uid = from_uid;
		this.to_uid = to_uid;
		this.of_from = of_from;
		this.content = content;
		this.of_to = of_to;
		this.uuid = uuid;
		this.type = type;
		this.file = file;
		this.time = time;
	}
	public ImMessageModel(String from_uid, String to_uid, String of_from,
						  String content, String of_to, String uuid, String type, Files file,String time,String msg_type) {
		super();
		this.from_uid = from_uid;
		this.to_uid = to_uid;
		this.of_from = of_from;
		this.content = content;
		this.of_to = of_to;
		this.uuid = uuid;
		this.type = type;
		this.file = file;
		this.time = time;
		this.msg_type=msg_type;
	}
	public String getFrom_uid() {
		return from_uid;
	}

	public void setFrom_uid(String from_uid) {
		this.from_uid = from_uid;
	}

	public String getTo_uid() {
		return to_uid;
	}

	public void setTo_uid(String to_uid) {
		this.to_uid = to_uid;
	}

	public String getOf_from() {
		return of_from;
	}

	public void setOf_from(String of_from) {
		this.of_from = of_from;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getOf_to() {
		return of_to;
	}

	public void setOf_to(String of_to) {
		this.of_to = of_to;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Files getFile() {
		return file;
	}

	public void setFile(Files file) {
		this.file = file;
	}

	private String sqlType;
    public void setSqlType(String sqlType) {
        this.sqlType = sqlType;
    }

	public String getSqlType() {
		return sqlType;
	}

	private Integer str;
	public void setStr(int str) {
		this.str = str;
	}

	public Integer getStr() {
		return str;
	}

	public void setStr(Integer str) {
		this.str = str;
	}

	public List<ImMessage> getGroupMessage() {
		return groupMessage;
	}

	public void setGroupMessage(List<ImMessage> groupMessage) {
		this.groupMessage = groupMessage;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getRinvite() {
		return rinvite;
	}

	public void setRinvite(String rinvite) {
		this.rinvite = rinvite;
	}
}